/*
Author: Maciej Oczko
Date: December 2011
*/

#include "TextureMgr.h"

TextureMgr::TextureMgr(unsigned p_NumberOfResources) : ResourceMgr(p_NumberOfResources, TEXTURE_BUFFER_ID)
{
	acquireResourceBuffer<TEXTYPE>();
}

TextureMgr::~TextureMgr()
{
	Unload<TEXTYPE>();
}

RHANDLE TextureMgr::Load(std::wstring p_Identifier)
{
	return getHandle<TEXTYPE>(p_Identifier);
}